gtk4.git
9 years agoWe no longer have gdktestutils
Matthias Clasen [Mon, 16 Jan 2017 22:49:35 +0000 (17:49 -0500)]
We no longer have gdktestutils

Update the docs build to reflect that.

9 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 16 Jan 2017 20:33:24 +0000 (21:33 +0100)]
Updated Spanish translation

9 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 16 Jan 2017 20:33:13 +0000 (21:33 +0100)]
Updated Spanish translation

9 years agoswitch: Fix build
Timm Bäder [Mon, 16 Jan 2017 20:01:59 +0000 (21:01 +0100)]
switch: Fix build

Partial revert of 2b6b5c1c8fecdd66172516812ed3f1825619dafc, which
removed a little too much.

9 years agoswitch: Remove some unused code
Timm Bäder [Mon, 16 Jan 2017 17:15:22 +0000 (18:15 +0100)]
switch: Remove some unused code

9 years agogtkentryprivate: Remove unused prototype
Timm Bäder [Fri, 13 Jan 2017 20:17:08 +0000 (21:17 +0100)]
gtkentryprivate: Remove unused prototype

9 years agoscalebutton: Use GtkButon:icon-name in the ui file
Timm Bäder [Fri, 13 Jan 2017 20:09:14 +0000 (21:09 +0100)]
scalebutton: Use GtkButon:icon-name in the ui file

9 years agospinbutton: Restore gtk3 focus behavior
Timm Bäder [Fri, 13 Jan 2017 14:24:44 +0000 (15:24 +0100)]
spinbutton: Restore gtk3 focus behavior

Focus the spinbutton on button press, never focus the buttons.

9 years agoinspector: Use GtkButton:icon-name in ui files
Timm Bäder [Fri, 13 Jan 2017 20:08:59 +0000 (21:08 +0100)]
inspector: Use GtkButton:icon-name in ui files

9 years agoentry: Remove unused struct member
Timm Bäder [Fri, 13 Jan 2017 20:13:07 +0000 (21:13 +0100)]
entry: Remove unused struct member

9 years agogtk4-section: Add GtkInfoBar:revealed setter+getter
Timm Bäder [Sat, 14 Jan 2017 07:20:43 +0000 (08:20 +0100)]
gtk4-section: Add GtkInfoBar:revealed setter+getter

9 years agowayland: avoid 0 width/height anchor rectangle
Olivier Fourdan [Thu, 12 Jan 2017 17:08:32 +0000 (18:08 +0100)]
wayland: avoid 0 width/height anchor rectangle

Passing a rectangle with zero width or height to xdg_shell-v6
set_anchor_rect() will cause a protocol error and terminate the client,
as with gedit when pressing the Win key.

Reason for this is because the rectangle used to set the anchor comes
from gtk_text_layout_get_iter_location() which uses the pango layout
width/height, which can be empty if there is not character at the given
location.

Make sure we don't use 0 as width or height as an anchor rectangle to
avoid the protocol error, and compensate the logical position of the
given rectangle if the size is changed, so that the actual position
remains as expected by the client.

https://bugzilla.gnome.org/show_bug.cgi?id=777176

9 years agoVisual Studio builds: Update gsk project
Chun-wei Fan [Mon, 16 Jan 2017 05:47:21 +0000 (13:47 +0800)]
Visual Studio builds: Update gsk project

Another Vulkan renderer source was added, so include them in the builds.

9 years agogrid: Fix plural error in docs' @Short_description
Daniel Boles [Sun, 15 Jan 2017 20:37:49 +0000 (20:37 +0000)]
grid: Fix plural error in docs' @Short_description

9 years agoUpdate Catalan translation
Jordi Mas [Sun, 15 Jan 2017 19:18:08 +0000 (20:18 +0100)]
Update Catalan translation

9 years agosnapshot: Rename gtk_snapshot_translate_2d()
Benjamin Otte [Fri, 13 Jan 2017 13:36:56 +0000 (14:36 +0100)]
snapshot: Rename gtk_snapshot_translate_2d()

It's now called gtk_snapshot_offset().

9 years agoUpdate Catalan translation
Jordi Mas [Fri, 13 Jan 2017 05:51:42 +0000 (06:51 +0100)]
Update Catalan translation

9 years agosnapshot: Rename append APIs
Benjamin Otte [Fri, 13 Jan 2017 03:46:09 +0000 (04:46 +0100)]
snapshot: Rename append APIs

Instead of having gtk_snapshot_append_foo_node(), just have
gtk_snapshot_append_foo(). Nobody needs to know that this internally
uses nodes.

9 years agocssimage: Fallback images have no aspect ratio
Benjamin Otte [Fri, 13 Jan 2017 00:43:07 +0000 (01:43 +0100)]
cssimage: Fallback images have no aspect ratio

The aspect ratio for fallback image was incorrectly set to 1.

Reftest is included.

9 years agocssimage: Scale images to contain, not cover
Benjamin Otte [Fri, 13 Jan 2017 02:28:34 +0000 (03:28 +0100)]
cssimage: Scale images to contain, not cover

Images with just an aspect ratio, but without a size, should be scaled
to be fully visible in the given area.
But we scaled them to completely cover the given area, which made them
partially invisible.

Reftest included.

9 years agosnapshot: Redo pop() API
Benjamin Otte [Thu, 12 Jan 2017 23:39:59 +0000 (00:39 +0100)]
snapshot: Redo pop() API

gtk_snapshot_pop() => removed
gtk_snapshot_pop_and_append() => gtk_snapshot_pop()

So now there is no way to get a rendernode out of the snapshotting API
until you gtk_snapshot_finish().

9 years agosnapshot: Add gtk_snapshot_push_blend()
Benjamin Otte [Thu, 12 Jan 2017 22:20:31 +0000 (23:20 +0100)]
snapshot: Add gtk_snapshot_push_blend()

and use it for backgrounds.

9 years agoreftests: Fix test
Benjamin Otte [Thu, 12 Jan 2017 22:20:11 +0000 (23:20 +0100)]
reftests: Fix test

No, GtkActions don't need to be part of this test.

9 years agostack: Build stored render node with custom Snapshot object
Benjamin Otte [Thu, 12 Jan 2017 21:49:53 +0000 (22:49 +0100)]
stack: Build stored render node with custom Snapshot object

This is in preparation for API changes in GtkSnapshot.

9 years agoAdd gtk_snapshot_push_cross_fade()
Benjamin Otte [Thu, 12 Jan 2017 21:00:38 +0000 (22:00 +0100)]
Add gtk_snapshot_push_cross_fade()

... and use it.

The function is a bit awkward because it requires 2 calls to
gtk_snapshot_pop(), but once you accept that, it's very convenient to
use, as can be seen by the 2 implementations.

9 years agomir: use modal window hint
William Hua [Thu, 12 Jan 2017 22:16:27 +0000 (17:16 -0500)]
mir: use modal window hint

9 years agowidget-factory: Add a system tab to the about dialog
Matthias Clasen [Thu, 12 Jan 2017 20:30:11 +0000 (15:30 -0500)]
widget-factory: Add a system tab to the about dialog

Just for trying it out.

9 years agoabout dialog: Add a "system" tab
Matthias Clasen [Fri, 30 Dec 2016 04:12:42 +0000 (23:12 -0500)]
about dialog: Add a "system" tab

This is a free-form tab that can contain information about the
system environment. To see it, set GtkAboutDialog::system-information
to a non-NULL value.

https://bugzilla.gnome.org/show_bug.cgi?id=776604

9 years agoactionbar: Notify when :revealed changes
Timm Bäder [Thu, 12 Jan 2017 14:14:25 +0000 (15:14 +0100)]
actionbar: Notify when :revealed changes

9 years agoinfobar: Fix copy&paste error in documentation
Timm Bäder [Thu, 12 Jan 2017 07:37:15 +0000 (08:37 +0100)]
infobar: Fix copy&paste error in documentation

Of course you shouldn't call gtk_dialog_response on a GtkInfoBar.

9 years agoinfobar demo: Adapt to GtkInfoBar changes
Timm Bäder [Thu, 12 Jan 2017 08:10:02 +0000 (09:10 +0100)]
infobar demo: Adapt to GtkInfoBar changes

Bind GtkToggleButton:active to GtkInfoBar:revealed instead of :visible.

9 years agoinfobar: Add :revealed property
Timm Bäder [Thu, 12 Jan 2017 08:09:22 +0000 (09:09 +0100)]
infobar: Add :revealed property

9 years agoinfobar: Keep GParamSpecs around
Timm Bäder [Thu, 12 Jan 2017 07:42:09 +0000 (08:42 +0100)]
infobar: Keep GParamSpecs around

So we can use them in notify_by_pspec

9 years agox11: Add call to XInitThreads()
Benjamin Otte [Thu, 12 Jan 2017 01:01:07 +0000 (02:01 +0100)]
x11: Add call to XInitThreads()

The Mesa Vulkan drivers need XInitThreads() being called, because their
implementation has to use threads.

And I don't want to make the call depend on if Vulkan is compiled in
because that makes GTK's X11 behavior depend on compile-time flags, so
it's always called.

9 years agoMore filter documentation updates
Matthias Clasen [Wed, 11 Jan 2017 19:07:56 +0000 (14:07 -0500)]
More filter documentation updates

Actually document the filter property, not just -gtk-icon-filter.

9 years agoCorrect the -gtk-icon-filter docs
Matthias Clasen [Wed, 11 Jan 2017 18:38:26 +0000 (13:38 -0500)]
Correct the -gtk-icon-filter docs

I was overlooking that it is possible to specify multiple
functions. Also add a reference to the relevant spec draft.

9 years agobuild: List resource files explicitly
Benjamin Otte [Wed, 11 Jan 2017 14:17:49 +0000 (15:17 +0100)]
build: List resource files explicitly

This way, we ensure that files that are built during make always get
properly listed. And we ensure that creating the resources actually
depends on them.

9 years agoshortcutswindow: Make dispose work properly
Benjamin Otte [Tue, 10 Jan 2017 14:59:26 +0000 (15:59 +0100)]
shortcutswindow: Make dispose work properly

9 years agotests: Add a rendernode test for borders
Benjamin Otte [Tue, 10 Jan 2017 14:41:11 +0000 (15:41 +0100)]
tests: Add a rendernode test for borders

9 years agovulkan: Add shader for border rendering
Benjamin Otte [Tue, 10 Jan 2017 13:59:20 +0000 (14:59 +0100)]
vulkan: Add shader for border rendering

9 years agoGtkSnapshot: Always use int for the translation
Alexander Larsson [Wed, 11 Jan 2017 15:14:03 +0000 (16:14 +0100)]
GtkSnapshot: Always use int for the translation

We already take ints when setting the translation, so it can't
currently take any other values. Additionally, I was seeing large
costs in int -> double -> int for the rects in
gtk_snapshot_clips_rect(), as all callers really are ints (widget
allocations) and the clip region is int-based.

This change completely cleared a 2% rectangle_init_from_graphene from
the profile and is likely to have nice performance effects elsewhere
too.

9 years agowidget: Avoid typechecks when accessing ->clip and ->allocation
Alexander Larsson [Wed, 11 Jan 2017 14:30:30 +0000 (15:30 +0100)]
widget: Avoid typechecks when accessing ->clip and ->allocation

9 years agoGtkCSSImage: Avoid some type checks
Alexander Larsson [Wed, 11 Jan 2017 14:28:35 +0000 (15:28 +0100)]
GtkCSSImage: Avoid some type checks

The width/height/aspect getters are called a lot, and almost all
callers already verify it from _gtk_css_image_get_concrete_size (),
so just skip these checks.

9 years agoAvoid some more type checks for internal calls
Alexander Larsson [Wed, 11 Jan 2017 14:27:51 +0000 (15:27 +0100)]
Avoid some more type checks for internal calls

9 years agogtkcssgadget: Use private non-checking versions of gtk_widget calls
Alexander Larsson [Wed, 11 Jan 2017 11:04:21 +0000 (12:04 +0100)]
gtkcssgadget: Use private non-checking versions of gtk_widget calls

This avoids a lot of checking overhead.

9 years agoGtkSnapshot: Reuse snapshot state objects
Alexander Larsson [Wed, 11 Jan 2017 10:41:46 +0000 (11:41 +0100)]
GtkSnapshot: Reuse snapshot state objects

Rather than allocate new ones all the time we reuse the previous ones.
We just clear them and save them in the parent for later reuse.

9 years agoGtkSnapshot: Move collect data to a union in the state
Alexander Larsson [Wed, 11 Jan 2017 10:21:27 +0000 (11:21 +0100)]
GtkSnapshot: Move collect data to a union in the state

This means we allocate the collect data with the state, avoiding
an extra allocation. Also, a union means every state object
is the same size and we could reuse the state objects.

9 years agoSnapshot: Only record names if inspector is recording
Alexander Larsson [Wed, 11 Jan 2017 09:08:58 +0000 (10:08 +0100)]
Snapshot: Only record names if inspector is recording

Otherwise we do a lot of allocations and vprintf calls which are
not used.

9 years agogsk_rounded_rect_init_copy: Don't normalize
Alexander Larsson [Wed, 11 Jan 2017 08:23:37 +0000 (09:23 +0100)]
gsk_rounded_rect_init_copy: Don't normalize

This was showing up quite high on the profiles, and there is
no real reason for copy to normalize, as the source is a
GskRoundedRect which should be normalized already unless
you did something very strange (and then you should have normalized
manually).

9 years agoSkip dynamic type check in css value getters
Alexander Larsson [Wed, 11 Jan 2017 07:51:04 +0000 (08:51 +0100)]
Skip dynamic type check in css value getters

This gets called a lot during snapshotting, and this change
alone brings down snapshot time by almost 10% in a syntethic
snapshot test.

9 years agoSome updates to the migration guide
Matthias Clasen [Wed, 11 Jan 2017 02:20:38 +0000 (21:20 -0500)]
Some updates to the migration guide

9 years agoDocument -gtk-icon-filter
Matthias Clasen [Wed, 11 Jan 2017 02:12:38 +0000 (21:12 -0500)]
Document -gtk-icon-filter

Not much detail here yet, but the syntax is documented.

9 years agocssimage: Fix cross-fade
Benjamin Otte [Wed, 11 Jan 2017 01:51:50 +0000 (02:51 +0100)]
cssimage: Fix cross-fade

Simgle image cross-fade opacity was computed the wrong way, which caused
weird fade-in/out animations, for example in flat buttons.

I messed this up when porting cross-fades to snapshot().

9 years agoRemove an unnecessary check
Matthias Clasen [Wed, 11 Jan 2017 00:53:08 +0000 (19:53 -0500)]
Remove an unnecessary check

Since the demise of theme engines, we can no longer hit
the case of id >= GTK_CSS_PROPERTY_N_PROPERTIES. So don't
check for this in a very frequently called function.

9 years agoUse an internal parameter check here as well
Matthias Clasen [Wed, 11 Jan 2017 00:52:22 +0000 (19:52 -0500)]
Use an internal parameter check here as well

We should not slow down the core parts of the css machinery
with type checks.

9 years agoUse gtk_internal_return_val_if_fail here
Matthias Clasen [Wed, 11 Jan 2017 00:47:58 +0000 (19:47 -0500)]
Use gtk_internal_return_val_if_fail here

It seems odd to have checks in just a few functions,
so switch everything over to use the internal versions.

9 years agoUse _gtk_widget_get_window more
Matthias Clasen [Tue, 10 Jan 2017 23:37:12 +0000 (18:37 -0500)]
Use _gtk_widget_get_window more

This avoids type checks in places where we know it is safe.

9 years agoRefactor some css transition code slightly
Matthias Clasen [Tue, 10 Jan 2017 23:34:50 +0000 (18:34 -0500)]
Refactor some css transition code slightly

Reshuffling things a bit to avoid a bunch of NULL and
type checks.

9 years agoUse the .symbolic.png assets in Adwaita
Matthias Clasen [Tue, 10 Jan 2017 22:13:51 +0000 (17:13 -0500)]
Use the .symbolic.png assets in Adwaita

Using an image() fallback from svg to png doesn't make too
much sense, since the svg is always used (unless librsvg is
not present), while the png icon is faster and cheaper to
load and thus preferable.

9 years agogdk/wayland: Handle non-existant gsettings keys
Rui Matos [Mon, 9 Jan 2017 16:47:54 +0000 (17:47 +0100)]
gdk/wayland: Handle non-existant gsettings keys

Since we're a library, crashing on gsettings keys, whose presence is out
of our control, isn't appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=775846

9 years agogdk/wayland: Add support for the gtk-enable-primary-paste gsetting
Rui Matos [Thu, 8 Dec 2016 17:18:53 +0000 (18:18 +0100)]
gdk/wayland: Add support for the gtk-enable-primary-paste gsetting

The gsetting was recently added so that we can have this configurable
on the wayland backend too.

https://bugzilla.gnome.org/show_bug.cgi?id=775846

9 years agomir: fix compile-time warnings
William Hua [Mon, 9 Jan 2017 22:54:37 +0000 (17:54 -0500)]
mir: fix compile-time warnings

9 years agorevealer: Fix a typo in a function doc
Daniel Boles [Mon, 9 Jan 2017 22:34:30 +0000 (22:34 +0000)]
revealer: Fix a typo in a function doc

Also, "ie" wasn't very clear, but fixing that to "i.e." would cause
truncation of the summary when processed by bindings using doxygen. So,
I replaced it with "in other words", which is no _less_ clear, at least.

9 years agomir: properly handle empty clipboard
William Hua [Mon, 9 Jan 2017 17:04:48 +0000 (12:04 -0500)]
mir: properly handle empty clipboard

https://bugzilla.gnome.org/show_bug.cgi?id=775732

9 years agoVisual Studio builds: Move project files to win32/
Chun-wei Fan [Mon, 9 Jan 2017 07:33:25 +0000 (15:33 +0800)]
Visual Studio builds: Move project files to win32/

It was suggested that the project files to be moved to win32/, so that we can
have one less layer of directories we need to go down into to reach the project files.

9 years agobuild/Makefile.msvcproj: Improve documentation
Chun-wei Fan [Mon, 9 Jan 2017 04:11:33 +0000 (12:11 +0800)]
build/Makefile.msvcproj: Improve documentation

Tell people about what happens when generating projects when Visual
Studio 2013 or later is required, and mention that the .headers are
only needed when headers need to be copied.

9 years agocssgadget: Compute clip correctly
Benjamin Otte [Mon, 9 Jan 2017 00:10:22 +0000 (01:10 +0100)]
cssgadget: Compute clip correctly

We were computing it relative to the gadget allocation, but it should be
relative to the widget allocation.

9 years agowidget: Document child/sibling accessors
Timm Bäder [Sun, 8 Jan 2017 15:58:27 +0000 (16:58 +0100)]
widget: Document child/sibling accessors

9 years agoswitch: Use a widget as slider
Timm Bäder [Sun, 8 Jan 2017 15:54:34 +0000 (16:54 +0100)]
switch: Use a widget as slider

9 years agowidget: Add construct-only css-name property
Timm Bäder [Sun, 8 Jan 2017 15:44:46 +0000 (16:44 +0100)]
widget: Add construct-only css-name property

So we can set the css name of a widget to something that's not related
to the class name. If the css-name property is set to NULL, we will
still fall back to the one set using gtk_widget_class_set_css_name which
is alwasys non-NULL since GtkWidget itself sets it to "widget".

9 years agoactionbar: Fix class and instance struct parent member
Timm Bäder [Sun, 8 Jan 2017 14:10:52 +0000 (15:10 +0100)]
actionbar: Fix class and instance struct parent member

9 years agoactionbar: Add revealed property
Timm Bäder [Sun, 8 Jan 2017 13:52:34 +0000 (14:52 +0100)]
actionbar: Add revealed property

So we can show and hide it with a transition as well as bind another
property to it.

9 years agotestsuite/cssprovider: Use actual existing style property
Timm Bäder [Sun, 8 Jan 2017 12:10:43 +0000 (13:10 +0100)]
testsuite/cssprovider: Use actual existing style property

All the style properties in GtkTreeView are gone, so use one from
GtkScrollbar for now.

9 years agobuilderparser: Shuffle if-statements around once more
Timm Bäder [Sun, 8 Jan 2017 12:07:12 +0000 (13:07 +0100)]
builderparser: Shuffle if-statements around once more

The previous reordering broke the builderparser test case.

9 years agotestsuite/builder: Use g_assert_no_error to check GError
Timm Bäder [Sun, 8 Jan 2017 11:02:48 +0000 (12:02 +0100)]
testsuite/builder: Use g_assert_no_error to check GError

So we get a proper error message.

9 years agoprintunixdialog: Remove leftover draw handler
Timm Bäder [Sun, 8 Jan 2017 10:06:49 +0000 (11:06 +0100)]
printunixdialog: Remove leftover draw handler

9 years agoactionbar: Add revealer as internal child
Timm Bäder [Sun, 8 Jan 2017 09:49:06 +0000 (10:49 +0100)]
actionbar: Add revealer as internal child

9 years agoactionbar: Remove show() and hide() implementations
Timm Bäder [Sun, 8 Jan 2017 09:46:26 +0000 (10:46 +0100)]
actionbar: Remove show() and hide() implementations

They only show/hide the widget in a delayed fashion which doesn't
work, just like it doesn't work with infobars and popovers.

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sun, 8 Jan 2017 04:31:34 +0000 (04:31 +0000)]
Update Brazilian Portuguese translation

9 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sun, 8 Jan 2017 03:40:55 +0000 (03:40 +0000)]
Update Brazilian Portuguese translation

9 years agogdk: Remove testing functions
Benjamin Otte [Sun, 8 Jan 2017 02:34:58 +0000 (03:34 +0100)]
gdk: Remove testing functions

They were unused and unimplemented.

9 years agotests: Remove gtk_widget_send_key()
Benjamin Otte [Sun, 8 Jan 2017 00:47:51 +0000 (01:47 +0100)]
tests: Remove gtk_widget_send_key()

It's unused in GTK.

9 years agotests: Remove widget find functions
Benjamin Otte [Sun, 8 Jan 2017 00:42:03 +0000 (01:42 +0100)]
tests: Remove widget find functions

They are all unused by GTK.

And other people can write their own find functions if they need any in
their tests.

9 years agoMake GTK_DEBUG=interactive work better
Matthias Clasen [Wed, 4 Jan 2017 19:42:33 +0000 (14:42 -0500)]
Make GTK_DEBUG=interactive work better

We currently have various ways to initialize GTK+, and not
all of them were supporting this way of bringing up the
inspector. Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=776807

9 years agobuild: Fix vulkan detection
Pavel Grunt [Mon, 2 Jan 2017 20:46:22 +0000 (21:46 +0100)]
build: Fix vulkan detection

Add missing 'test'

https://bugzilla.gnome.org/show_bug.cgi?id=776736

9 years agodocs: Remove a line that's not true anymore
Benjamin Otte [Sat, 7 Jan 2017 23:46:08 +0000 (00:46 +0100)]
docs: Remove a line that's not true anymore

9 years agoviewport: Remove API to query GdkWindows
Benjamin Otte [Sat, 7 Jan 2017 16:09:25 +0000 (17:09 +0100)]
viewport: Remove API to query GdkWindows

9 years agotreeview: Remove gtk_tree_view_get_bin_window()
Benjamin Otte [Sat, 7 Jan 2017 15:07:21 +0000 (16:07 +0100)]
treeview: Remove gtk_tree_view_get_bin_window()

We don't want to expose GdkWindows in the public API.

9 years agogdk: Remove unused debug category
Benjamin Otte [Sat, 7 Jan 2017 14:27:02 +0000 (15:27 +0100)]
gdk: Remove unused debug category

9 years agogtkfishbowl: Remove gtk_container_snapshot_child call
Timm Bäder [Sat, 7 Jan 2017 17:08:53 +0000 (18:08 +0100)]
gtkfishbowl: Remove gtk_container_snapshot_child call

9 years agoRemove gtk_container_snapshot_child
Timm Bäder [Sat, 7 Jan 2017 16:02:20 +0000 (17:02 +0100)]
Remove gtk_container_snapshot_child

Replace it with the already existing gtk_widget_snapshot_child.

9 years agoUnparent child widgets
Timm Bäder [Sat, 7 Jan 2017 14:58:55 +0000 (15:58 +0100)]
Unparent child widgets

9 years agoAdd gtk_widget_set_focus_child
Timm Bäder [Fri, 6 Jan 2017 16:06:51 +0000 (17:06 +0100)]
Add gtk_widget_set_focus_child

With a very useful implementation, but at least now we don't get runtime
warnings.

9 years agoAdd gtk_widget_snapshot_child
Timm Bäder [Fri, 6 Jan 2017 08:43:52 +0000 (09:43 +0100)]
Add gtk_widget_snapshot_child

9 years agowidget: Warn if children are left in finalize()
Timm Bäder [Wed, 7 Dec 2016 13:05:34 +0000 (14:05 +0100)]
widget: Warn if children are left in finalize()

9 years agogtkmain: Correctly notify all widgets of a grab
Timm Bäder [Sun, 4 Dec 2016 11:48:50 +0000 (12:48 +0100)]
gtkmain: Correctly notify all widgets of a grab

9 years agowidget: Fix :parent property type
Timm Bäder [Sat, 3 Dec 2016 10:09:58 +0000 (11:09 +0100)]
widget: Fix :parent property type

Parent widgets can now also be widgets, not just containers.

9 years agotestsuite: Stop testing style properties
Timm Bäder [Wed, 30 Nov 2016 16:38:09 +0000 (17:38 +0100)]
testsuite: Stop testing style properties

9 years agoinspector: Don't try to access child props of non-containers
Timm Bäder [Tue, 29 Nov 2016 17:32:43 +0000 (18:32 +0100)]
inspector: Don't try to access child props of non-containers

9 years agowidget: Remove gtk_widget_style_get_property
Timm Bäder [Wed, 23 Nov 2016 19:19:44 +0000 (20:19 +0100)]
widget: Remove gtk_widget_style_get_property